package edu.zju.gis.dbfg.fileserver.service;

import edu.zju.gis.dbfg.common.base.BaseService;
import edu.zju.gis.dbfg.fileserver.model.Role;

import java.util.List;

public interface RoleService extends BaseService<Role, String> {
    public Role select(String depart, int usrlevel);

    public List<Role> selectByDepartment(String depart);

    Role departmentsAndLevel(String userId);
}
